@import (reference) './variable.less';
@import '../style/mixins/hairline.less';

@dividerPrefix: ant-divider;

.@{dividerPrefix}-horizontal {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  padding: @v-spacing-standard 0;

  &-text {
    font-size: @font-size-subtitle;
    color: @divider-text-color;
    margin: 0 32 * @rpx;
  }

  &-left,
  &-right {
    border-bottom: @border-width-standard solid @divider-border-color;
  }
}

.@{dividerPrefix}-vertical {
  margin: 0 16 * @rpx;
  height: 32 * @rpx;
  border-right: @border-width-standard solid @divider-border-color;
}
